{include file="include/header.tpl"}
<table>
    <tr><th>{$data}</th><th>{$data}</th></tr>
	
	{foreach $item in $items}
	<tr><td>{$index}</td><td>{$item}</td></tr>
	{/foreach $item}

	<div style="color:red; font-weight:bold;">{$items[0]}</div>
	<div style="color:green; font-weight:bold;">{$app.name}</div>


	{foreach $item in $result}
	<tr><td>{$index}</td><td>{$item['id']}</td><td>{$item['name']}</td></tr>
	{/foreach $item}


</table>
{include file="include/footer.tpl"}